﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZBJF.Warranty.Model;
using ZBJF.Warranty.Model.ViewModel.InsuranceProducts;

namespace ZBJF.Warranty.IBLL
{
    public partial interface IInsuranceProductScreenSPsService
    {
        ///// <summary>
        ///// 根据保险产品iD 和配件类型Id，且排除InsuranceProductScreenSPsID判断是否存在相同数据
        ///// </summary>
        ///// <param name="ID">保险产品iD</param>
        ///// <param name="yID">配件类型iD</param>
        ///// <param name="id">InsuranceProductScreenSPsID</param>
        ///// <returns></returns>
        //bool IsExist(int ID,int yID, long id = 0);
        IQueryable<InsuranceProductScreenSPs> GetInsuranceProductScreenSPsAll(int cellPhoneServiceProjectID);
        IQueryable<InsuranceProductScreenSPs> GetInsuranceProductScreenSPsList(List<int> cellPhoneServiceProjectIDs);

        /// <summary>
        /// 获取保险产品配件等级，配件类型等信息
        /// </summary>
        /// <param name="cellPhoneServiceProjectID"></param>
        /// <returns></returns>
        List<AccessoriesLevelList> GetAccessoriesLevelList(int cellPhoneServiceProjectID);
    }
}
